<?php

namespace app\api\controller;

use app\common\controller\Api;

/**
 * 关联参数
 *
 * @Bumen  部门
 * @Danwei  单位
 * @Diqu   地区
 * @Fxjg   户型
 * @Gllx   管理类型
 * @Jiaju  家具
 * @Jiedao  街道
 * @Peitao   配套
 * @Shequ   社区
 * @Zhuangxiu  装修
 * @Zizhefeng  职责分工
 * @
 */
class Glcd extends Common
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRiaght = '*';
    protected $BumenModel = null;
    protected $DanweiModel = null;
    protected $DiquModel = null;
    protected $FxjgModel = null;
    protected $GllxModel = null;
    protected $JiajuModel = null;
    protected $JiedaoModel = null;
    protected $PeitaoModel = null;
    protected $ShequModel = null;
    protected $ZhuangxiuModel = null;
    protected $ZizhefengModel = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->BumenModel = new \app\admin\model\Bumen();
        $this->DanweiModel = new \app\admin\model\Danwei();
        $this->DiquModel = new \app\admin\model\Diqu();
        $this->FxjgModel = new \app\admin\model\Fxjg();
        $this->GllxModel = new \app\admin\model\Gllx();
        $this->JiajuModel = new \app\admin\model\Jiaju();
        $this->JiedaoModel = new \app\admin\model\Jiedao();
        $this->PeitaoModel = new \app\admin\model\Peitao();
        $this->ShequModel = new \app\admin\model\Shequ();
        $this->ZhuangxiuModel = new \app\admin\model\Zhuangxiu();
        $this->ZizhefengModel = new \app\admin\model\Zizhefeng();
    }
    /**
     * 部门信息分类列表
     *
     */
    public function getlBumenList()
    {
        $Bumen = $this->BumenModel
            ->select();
        $this->outputData($Bumen);
    }
    /**
     * 单位信息分类列表
     *
     */
    public function getDanweiList()
{
    $Danwei = $this->DanweiModel
        ->select();
    $this->outputData($Danwei);
}
    /**
     * 地区信息分类列表
     *
     */
    public function getDiquList()
    {
        $Diqu = $this->DiquModel
            ->select();
        $this->outputData($Diqu);
    }
    /**
     * 户型信息分类列表
     *
     */
    public function getFxjgList()
    {
        $Fxjg = $this->FxjgModel
            ->select();
        $this->outputData($Fxjg);
    }
    /**
     * 管理类型信息分类列表
     *
     */
    public function getGllxList()
    {
        $Gllx = $this->GllxModel
            ->select();
        $this->outputData($Gllx);
    }
    /**
     * 家具信息分类列表
     *
     */
    public function getJiajuList()
    {
        $Jiaju = $this->JiajuModel
            ->select();
        $this->outputData($Jiaju);
    }
    /**
     * 街道信息分类列表
     *
     */
    public function getJiedaoList()
    {
        $Jiedao = $this->JiedaoModel
            ->select();
        $this->outputData($Jiedao);
    }
    /**
     * 配套信息分类列表
     *
     */
    public function getPeitaoList()
    {
        $Peitao = $this->PeitaoModel
            ->select();
        $this->outputData($Peitao);
    }
    /**
     * 社区信息分类列表
     *
     */
    public function getShequList()
    {
        $Shequ = $this->ShequModel
            ->select();
        $this->outputData($Shequ);
    }
    /**
     * 装修信息分类列表
     *
     */
    public function getZhuangxiuList()
    {
        $Zhuangxiu = $this->ZhuangxiuModel
            ->select();
        $this->outputData($Zhuangxiu);
    }
    /**
     * 职责分工信息分类列表
     *
     */
    public function getZizhefengList()
    {
        $Zizhefeng = $this->ZizhefengModel
            ->select();
        $this->outputData($Zizhefeng);
    }
}